<?php
/**
 * Created by PhpStorm.
 * User: 47474
 * Date: 2021/11/29
 * Time: 15:19
 */

echo "<h1>完整地址</h1>";
echo $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
echo "<h1>用户IP</h1>";
echo $_SERVER["REMOTE_ADDR"];
echo "<h1>请求方法</h1>";
echo $_SERVER["REQUEST_METHOD"];
echo "<h1>URL参数</h1>";
var_dump($_GET);
echo "<h1>POST数据</h1>";
var_dump($_POST);